package com.booking.controller.model.res;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author Qikai.Lin
 * @date 2023/4/24
 */
@Data
public class HomestaySimpleInfo{
    /**
     * 民宿ID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    /**
     * 民宿名称
     */
    private String name;
    /**
     * 民宿简介
     */
    private String description;
    /**
     * 民宿地址
     */
    private String address;
    /**
     * 民宿评分
     */
    private Double score;
    /**
     * 更新时间
     */
    private LocalDateTime updatedTime;
}
